@type: {
  primary: #409eff;
  success: #67c23a;
  info: #909399;
  warning: #e6a23c;
  danger: #f56c6c;
};

.burger-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;

  &-bar {
    position: relative;
    background-color: #eee;
    border-radius: 20px;
    width: 100%;
    height: 8px;
  }

  &-value {
    position: absolute;
    border-radius: 20px;
    top: 0;
    bottom: 0;
    text-align: right;
    background-color: #409eff;
    transition: all 0.3s;

    each(@type, {
      &.@{key} {
        background-color: @value;
      }
    });
  }

  &-ratio {
    width: 40px;
    font-size: 14px;
    line-height: 1;
    padding: 0 4px;
  }

  &-ratio-inner {
    display: block;
    font-size: 12px;
    padding: 0 4px;
  }
}
